@extends('admin.layout')

@section('content')
    <div class="layui-form" lay-filter="layuiadmin-form-role" id="layuiadmin-form-role" style="padding: 20px 30px 0 0;">
            <form class="layui-form" action="{{route('admin.permission.update',$permission)}}" method="post">
                {{method_field('put')}}
                <input type="hidden" name="id" value="{{ $permission->id }}">
                @include('user.permission._from')
            </form>
    </div>
@endsection

@section('js')
    <script>
        layui.config({
            base: '/static/layuiadmin/' //静态资源所在路径
        }).extend({
            index: 'lib/index' //主入口模块
        }).use(['index', 'form'], function(){
            var $ = layui.$
                ,form = layui.form ;
        })
    </script>
    @include('user.permission._js')
@endsection
